Fix plugin-object and chart component display in fumadocs#165
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
|
Deployment failed with the following error: Learn More: https://vercel.com/xuyushun441-sys-projects?upgradeToPro=build-rate-limit |
Copilot
AI
changed the title
[WIP] Fix display issues with object and chart components in fumadocss
Fix plugin-object and chart component display in fumadocs
Jan 23, 2026
hotlong
approved these changes
Jan 23, 2026
|
Deployment failed with the following error: Learn More: https://vercel.com/xuyushun441-sys-projects?upgradeToPro=build-rate-limit |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR restores rendering of object-based components in the Fumadocs site and corrects chart plugin documentation to match the current @object-ui/plugin-charts API.
Changes:
- Re-enabled lazy loading of
@object-ui/plugin-objectin the docs app so object components are available toSchemaRenderer. - Updated
plugin-chartsdocumentation examples to use the advancedtype: 'chart'+chartTypeAPI instead of deprecated/incorrect*-charttypes, and replaced the unsupported pie chart example with an area chart. - Clarified the distinction between the simple
bar-chartcomponent and the advancedchartcomponent, including multi-series configuration withseriesandconfig.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
apps/site/app/components/InteractiveDemo.tsx |
Re-enabled lazy loading of @object-ui/plugin-object alongside other plugins so object schemas render correctly in interactive demos. |
docs/plugins/plugin-charts.mdx |
Aligned all examples and narrative with the current @object-ui/plugin-charts API (bar-chart for simple usage, chart + chartType/series/config for advanced charts) and removed references to the unimplemented pie chart. |
Contributor
|
✅ All checks passed!
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Object and chart components were not rendering in the fumadocs site due to a disabled plugin import and incorrect component type references.
Changes
apps/site/app/components/InteractiveDemo.tsximport('@object-ui/plugin-object')- was erroneously disabled with "missing dependency" note despite dependency existingdocs/plugins/plugin-charts.mdxline-chart→chartwithchartType: 'line'pie-chartexample witharea-chart(pie chart not implemented)seriesandconfigproperties:bar-chart(simple) vschart(advanced with multiple series)Screenshots
Object components now rendering:

Chart components with corrected documentation:

Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.